Template Struct Matrix

Struct Documentation

template<typename T>
struct Matrix

Public Functions

inline Matrix()
inline Matrix(int rows_, int cols_)
inline T &operator()(int r, int c)
inline const T &operator()(int r, int c) const
inline T &operator()(int i) const
inline T *PtrTo(int r, int c)
inline const T *PtrTo(int r, int c) const
inline const T *begin() const
inline const T *end() const
inline T *begin()
inline T *end()

Public Members

std::shared_ptr<T> data
int rows
int cols